/* ScrollableContainer.css */


.q-scrollable-container {
    display: flex;
    align-items: center;
    overflow: scroll;
    overflow: hidden;
    width: 95%;
    position: relative;
    margin-top: 5px;
}

.q-custom-scrollbar {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    flex: 1;
}

.q-scrollable-container:hover .q-arrow-button2 {
    display: block;
}

.q-scrollable-container:hover .q-arrow-button1 {
    display: block;
}

.q-custom-scrollbar img {
    width: 150px;
    height: 110px;
    margin: 5px;
    border-radius: 10px;
}

.q-custom-scrollbar::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.q-arrow-button1 {
    background-color: #d8d8d8;
    border: none;
    color: #000;
    padding: 10px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    z-index: 1;
    display: none;
    position: absolute;
    left: 2%;
    top: 40%;
}

.q-arrow-button2 {
    background-color: #d8d8d8;
    border: none;
    color: #000;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    z-index: 1;
    display: none;
    position: absolute;
    left: 92%;
    top: 40%;
}

.q-arrow-button:focus {
    outline: none;
}

.q-scrollable-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.q-custom-scrollbar {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.q-custom-scrollbar img {
    flex: 0 0 auto;
    margin-right: 10px;
}

.q-arrow-button1,
.q-arrow-button2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
}

.q-arrow-button1 {
    left: 0;
}

.q-arrow-button2 {
    right: 0;
}

.q-toggle-button {
    margin-bottom: 10px;
}

.q-masonry-layout {
    column-count: 3;
    column-gap: 10px;
}

.q-masonry-item {
    break-inside: avoid;
    margin-bottom: 10px;
}

.q-masonry-item img {
    width: 100%;
    display: block;
}